package com.flyduck.vueshop.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flyduck.vueshop.system.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.flyduck.entity.SysUser
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysUser> getUserListByRoleId(@Param("roleId") Long roleId);

    List<SysUser> getUserListByMenuId(@Param("menuId") Long menuId);
}




